{imp:"faqs/a_laymob"}<!--模板继承-->

{block:init}{:parent}<?php
if($this->key=='tag') $sbtitle = '(Tags)';
if($this->key=='') $sbtitle = '(All)';
$whrs = tex_faqs::expwhr($this); 
$whr = $whrs[0]; $ord = $whrs[1];
?>{/block:init}

{block:main}
<div class="pgf_main">

<dl class="faqs-list">
{tag:qas=[Page][modid,faqs][where,$whr][order,$ord][show,1][limit,10]}
    {:row}
    <dt>{if !empty($t_hinfo) }<b class="fa fa-leaf"></b>{/if}<a href="{surl("faqs.$t_did")}">{title($t_title,240,$v)}</a></dt>
    <dd><i>{stime($t_atime,min)}</i>
    <span class="right"><a href="{surl("faqs-$t_catid")}">{sopt($t_catid,$this->mod,1,0)}</a></span>
    </dd>
    {/row}
{/tag:qas}
</dl>
    <?php 
    if($_cbase['page']['prec']){ echo $_cbase['page']['bar']; }
    else{ echo "<dt class='ma10 tc' >".lang('user.qa_nodata')."</dt>"; }
    ?>

    <div class="clear"></div>
</div>
{/block:main}
